package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:53
 * @Description: TODO
 */
public class RankingClbum {
    private String event;

    private List<Info> infos;

    public com.caipin.domain.web.RankingClbum setEvent(String event) {
        this.event = event;
        return this;
    }

    public com.caipin.domain.web.RankingClbum setInfos(List<Info> infos) {
        this.infos = infos;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.RankingClbum))
            return false;
        com.caipin.domain.web.RankingClbum other = (com.caipin.domain.web.RankingClbum)o;
        if (!other.canEqual(this))
            return false;
        Object this$event = getEvent(), other$event = other.getEvent();
        if ((this$event == null) ? (other$event != null) : !this$event.equals(other$event))
            return false;
        Object<Info> this$infos = (Object<Info>)getInfos(), other$infos = (Object<Info>)other.getInfos();
        return !((this$infos == null) ? (other$infos != null) : !this$infos.equals(other$infos));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.RankingClbum;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $event = getEvent();
        result = result * 59 + (($event == null) ? 43 : $event.hashCode());
        Object<Info> $infos = (Object<Info>)getInfos();
        return result * 59 + (($infos == null) ? 43 : $infos.hashCode());
    }

    public String toString() {
        return "RankingClbum(event=" + getEvent() + ", infos=" + getInfos() + ")";
    }

    public String getEvent() {
        return this.event;
    }

    public List<Info> getInfos() {
        return this.infos;
    }
}

